# coding:utf-8

def get_sensor_data(infile):
    f = open(infile,'r')
    dataset=[]
    sourceInLine=f.readlines()

    for line in sourceInLine:
        str = line.strip('\n')
        data = float(str)
        data = int(data)
        dataset.append(data)

    f.close()
    return dataset




